xen/arm: Don't emulate the MMIO access if the instruction syndrome is invalid
authorJulien Grall <julien.grall@linaro.org>
Thu, 25 Jul 2013 15:21:30 +0000 (16:21 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 29 Jul 2013 15:54:48 +0000 (16:54 +0100)
commitd2a167258b0b10567eb7abe3f34cf14660ed424e
tree188db4771757818968c1c16d9d2cf6a001b328a8
parentc433774a6ea84c46c25fdf8ef7e2657aaf2c7f2b
xen/arm: Don't emulate the MMIO access if the instruction syndrome is invalid

When the instruction syndrome is not valid, the transfer register is unknown.
If this register is used in the emulation code (it's the case for the VGIC),
Xen can retrieve wrong data.

For safety, consider invalid instruction syndrome as wrong memory access.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c